package com.example.demo.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 价格信息表(CcCommodityPrice)实体类
 *
 * @author makejava
 * @since 2021-09-13 20:29:31
 */
public class CcCommodityPrice implements Serializable {
    private static final long serialVersionUID = -18108062939166713L;
    /**
     * 唯一标示
     */
    private String priceId;
    /**
     * 编码（业务标识）
     */
    private String priceCode;
    /**
     * 价格
     */
    private Double price;
    /**
     * 价格描述
     */
    private String priceDesc;
    /**
     * 格类型价 01市场价 02 协议价(账期价) 03 预付款价格   S1最低销售价  S2 面价
     */
    private String priceType;
    /**
     * 排序标志
     */
    private Integer sort;
    /**
     * 币种
     */
    private String moneyType;
    /**
     * 备注描述
     */
    private String memo;
    /**
     * 标识位
     * 01：正常启用
     * 02：停用
     */
    private String status;

    private Date startDate;

    private Date endDate;
    /**
     * 商品编号
     */
    private String commodityNo;

    private String commodityType;
    /**
     * 外键
     * 当COMMODITY_NO为01时，该字段保存MK_ORG_CONTRACT表的主键
     */
    private String ouId;
    /**
     * 是否含运费 00是 01否
     */
    private String isFreight;
    /**
     * 未含税价格
     */
    private Double untaxedPrice;
    /**
     * 税率
     */
    private String tax;


    public String getPriceId() {
        return priceId;
    }

    public void setPriceId(String priceId) {
        this.priceId = priceId;
    }

    public String getPriceCode() {
        return priceCode;
    }

    public void setPriceCode(String priceCode) {
        this.priceCode = priceCode;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getPriceDesc() {
        return priceDesc;
    }

    public void setPriceDesc(String priceDesc) {
        this.priceDesc = priceDesc;
    }

    public String getPriceType() {
        return priceType;
    }

    public void setPriceType(String priceType) {
        this.priceType = priceType;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getMoneyType() {
        return moneyType;
    }

    public void setMoneyType(String moneyType) {
        this.moneyType = moneyType;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getCommodityNo() {
        return commodityNo;
    }

    public void setCommodityNo(String commodityNo) {
        this.commodityNo = commodityNo;
    }

    public String getCommodityType() {
        return commodityType;
    }

    public void setCommodityType(String commodityType) {
        this.commodityType = commodityType;
    }

    public String getOuId() {
        return ouId;
    }

    public void setOuId(String ouId) {
        this.ouId = ouId;
    }

    public String getIsFreight() {
        return isFreight;
    }

    public void setIsFreight(String isFreight) {
        this.isFreight = isFreight;
    }

    public Double getUntaxedPrice() {
        return untaxedPrice;
    }

    public void setUntaxedPrice(Double untaxedPrice) {
        this.untaxedPrice = untaxedPrice;
    }

    public String getTax() {
        return tax;
    }

    public void setTax(String tax) {
        this.tax = tax;
    }

    @Override
    public String toString() {
        return "CcCommodityPrice{" +
                "priceId='" + priceId + '\'' +
                ", priceCode='" + priceCode + '\'' +
                ", price=" + price +
                ", priceDesc='" + priceDesc + '\'' +
                ", priceType='" + priceType + '\'' +
                ", sort=" + sort +
                ", moneyType='" + moneyType + '\'' +
                ", memo='" + memo + '\'' +
                ", status='" + status + '\'' +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", commodityNo='" + commodityNo + '\'' +
                ", commodityType='" + commodityType + '\'' +
                ", ouId='" + ouId + '\'' +
                ", isFreight='" + isFreight + '\'' +
                ", untaxedPrice=" + untaxedPrice +
                ", tax='" + tax + '\'' +
                '}';
    }
}
